package com.ash.aop;

import org.springframework.stereotype.Component;

@Component
public class Arithmetic implements IArithmetic {

	@Override
	public int add(int i, int j) {
		return i + j;
	}

	@Override
	public int minus(int i, int j) {
		return i - j;
	}

	@Override
	public int multi(int i, int j) {
		return i * j;
	}

	@Override
	public int div(int i, int j) {
		return i / j;
	}

}
